<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <%-- 遍历所有用户信息--%>
    <title>主界面</title>
</head>
<body>
<table border="1" align="center" width="400px">
    <tr>
        <td>编号</td>
        <td>姓名</td>
        <td>年龄</td>
        <td>出生日期</td>
    </tr>

    <c:forEach items="${listStudent}" var="student">
        <tr>
            <td>${student.sid}</td>
            <td>${student.name}</td>
            <td>${student.age}</td>
            <td>${student.birthday}</td>
        </tr>
    </c:forEach>


</table>
</body>
</html>
